import { PartialType } from '@nestjs/mapped-types';
import { CreateArticlesDto } from './create-articles.dto';

// export class UpdateArticlesDto {
//   readonly name?: string;
//   readonly brand?: string;
//   readonly flavors?: string;
// }
/* 
  PartialType 将继承到的属性都设置为可选
*/
export class UpdateArticlesDto extends PartialType(CreateArticlesDto) {}
